<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>获取计数器的当前值。</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="internals2.counter.counter-class.construct.html">Counter::__construct</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="internals2.counter.counter-class.bumpValue.html">Counter::bumpValue</a></div>
 <div class="up"><a href="internals2.counter.counter-class.html">Counter</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="internals2.counter.counter-class.getValue" class="refentry">
    <div class="refnamediv">
     <h1 class="refname">Counter::getValue</h1>
     <p class="refpurpose"><span class="refname">Counter::getValue</span> &mdash; <span class="dc-title">
      获取计数器的当前值。
     </span></p>

    </div>
    <div class="refsect1 description" id="refsect1-internals2.counter.counter-class.getValue-description">
     <h3 class="title">说明</h3>
     <div class="methodsynopsis dc-description">
      <span class="type">integer</span> <span class="methodname"><strong>Counter::getValue</strong></span>
       ( <span class="methodparam">void</span>
      )</div>

     <p class="simpara">
      <span class="function"><strong>Counter::getValue()</strong></span> 返回计数器的当前值
     </p>
    </div>

    <div class="refsect1 returnvalues" id="refsect1-internals2.counter.counter-class.getValue-returnvalues">
     <h3 class="title">返回值</h3>
     <p class="simpara">
      <span class="function"><strong>Counter::getValue()</strong></span> 返回一个整数。
     </p>
    </div>

    <div class="refsect1 seealso" id="refsect1-internals2.counter.counter-class.getValue-seealso">
     <h3 class="title">参见</h3>
     <ul class="simplelist">
      <li class="member"><span class="function"><a href="internals2.counter.counter-class.bumpValue.html" class="function" rel="rdfs-seeAlso">Counter::bumpValue()</a> - 修改计数器的当前值。</span></li>
      <li class="member"><span class="function"><a href="internals2.counter.counter-class.resetValue.html" class="function" rel="rdfs-seeAlso">Counter::resetValue()</a> - 重置计数器的当前值。</span></li>
     </ul>
    </div>

   </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="internals2.counter.counter-class.construct.html">Counter::__construct</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="internals2.counter.counter-class.bumpValue.html">Counter::bumpValue</a></div>
 <div class="up"><a href="internals2.counter.counter-class.html">Counter</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
